Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

155
Vistas
I want to write a bot for my discord channel to send users "hi" message, who writes hello
@bot.event
async def on_message(message):
    channel = bot.get_channel(931570478915657790)
    if message.content == "hello":
        await channel.send("hi!")

I'm new at programming. I want to write a bot for my discord channel to send users "hi" message, who writes hello. But there is a problem, only I(Which is self bot) can receive "hi!" message. When I write "hello" from another account, Bot not answers it. (Note: I am using selfbot, not a normal bot.)

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

discord.py does not support selfbots very well, instead run these commands:

pip uninstall discord.py
pip install discord.py-self

discord.py-self is a copy of discord.py which gives more functionality to selfbots. However, selfbots are technically against the discord terms of service, so use at your own risk. Your code should work the exact same.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda